﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200056F RID: 1391
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightMatch3SwapScRsp : IMessage<FightMatch3SwapScRsp>, IMessage, IEquatable<FightMatch3SwapScRsp>, IDeepCloneable<FightMatch3SwapScRsp>, IBufferMessage
	{
		// Token: 0x170011DD RID: 4573
		// (get) Token: 0x06003E7E RID: 15998 RVA: 0x000ABB7B File Offset: 0x000A9D7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightMatch3SwapScRsp> Parser
		{
			get
			{
				return FightMatch3SwapScRsp._parser;
			}
		}

		// Token: 0x170011DE RID: 4574
		// (get) Token: 0x06003E7F RID: 15999 RVA: 0x000ABB82 File Offset: 0x000A9D82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightMatch3SwapScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170011DF RID: 4575
		// (get) Token: 0x06003E80 RID: 16000 RVA: 0x000ABB94 File Offset: 0x000A9D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightMatch3SwapScRsp.Descriptor;
			}
		}

		// Token: 0x06003E81 RID: 16001 RVA: 0x000ABB9B File Offset: 0x000A9D9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3SwapScRsp()
		{
		}

		// Token: 0x06003E82 RID: 16002 RVA: 0x000ABBA4 File Offset: 0x000A9DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3SwapScRsp(FightMatch3SwapScRsp other) : this()
		{
			this.hOFBEKABNNL_ = other.hOFBEKABNNL_;
			this.nAGKACACHGD_ = other.nAGKACACHGD_;
			this.nBEKPGDILJE_ = ((other.nBEKPGDILJE_ != null) ? other.nBEKPGDILJE_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003E83 RID: 16003 RVA: 0x000ABC08 File Offset: 0x000A9E08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightMatch3SwapScRsp Clone()
		{
			return new FightMatch3SwapScRsp(this);
		}

		// Token: 0x170011E0 RID: 4576
		// (get) Token: 0x06003E84 RID: 16004 RVA: 0x000ABC10 File Offset: 0x000A9E10
		// (set) Token: 0x06003E85 RID: 16005 RVA: 0x000ABC18 File Offset: 0x000A9E18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HOFBEKABNNL
		{
			get
			{
				return this.hOFBEKABNNL_;
			}
			set
			{
				this.hOFBEKABNNL_ = value;
			}
		}

		// Token: 0x170011E1 RID: 4577
		// (get) Token: 0x06003E86 RID: 16006 RVA: 0x000ABC21 File Offset: 0x000A9E21
		// (set) Token: 0x06003E87 RID: 16007 RVA: 0x000ABC29 File Offset: 0x000A9E29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NAGKACACHGD
		{
			get
			{
				return this.nAGKACACHGD_;
			}
			set
			{
				this.nAGKACACHGD_ = value;
			}
		}

		// Token: 0x170011E2 RID: 4578
		// (get) Token: 0x06003E88 RID: 16008 RVA: 0x000ABC32 File Offset: 0x000A9E32
		// (set) Token: 0x06003E89 RID: 16009 RVA: 0x000ABC3A File Offset: 0x000A9E3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ELAMGBPKDFA NBEKPGDILJE
		{
			get
			{
				return this.nBEKPGDILJE_;
			}
			set
			{
				this.nBEKPGDILJE_ = value;
			}
		}

		// Token: 0x170011E3 RID: 4579
		// (get) Token: 0x06003E8A RID: 16010 RVA: 0x000ABC43 File Offset: 0x000A9E43
		// (set) Token: 0x06003E8B RID: 16011 RVA: 0x000ABC4B File Offset: 0x000A9E4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06003E8C RID: 16012 RVA: 0x000ABC54 File Offset: 0x000A9E54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightMatch3SwapScRsp);
		}

		// Token: 0x06003E8D RID: 16013 RVA: 0x000ABC64 File Offset: 0x000A9E64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightMatch3SwapScRsp other)
		{
			return other != null && (other == this || (this.HOFBEKABNNL == other.HOFBEKABNNL && this.NAGKACACHGD == other.NAGKACACHGD && object.Equals(this.NBEKPGDILJE, other.NBEKPGDILJE) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003E8E RID: 16014 RVA: 0x000ABCD4 File Offset: 0x000A9ED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HOFBEKABNNL)
			{
				num ^= this.HOFBEKABNNL.GetHashCode();
			}
			if (this.NAGKACACHGD != 0U)
			{
				num ^= this.NAGKACACHGD.GetHashCode();
			}
			if (this.nBEKPGDILJE_ != null)
			{
				num ^= this.NBEKPGDILJE.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003E8F RID: 16015 RVA: 0x000ABD5B File Offset: 0x000A9F5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003E90 RID: 16016 RVA: 0x000ABD63 File Offset: 0x000A9F63
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003E91 RID: 16017 RVA: 0x000ABD6C File Offset: 0x000A9F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Retcode);
			}
			if (this.nBEKPGDILJE_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.NBEKPGDILJE);
			}
			if (this.HOFBEKABNNL)
			{
				output.WriteRawTag(72);
				output.WriteBool(this.HOFBEKABNNL);
			}
			if (this.NAGKACACHGD != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.NAGKACACHGD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003E92 RID: 16018 RVA: 0x000ABE00 File Offset: 0x000AA000
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HOFBEKABNNL)
			{
				num += 2;
			}
			if (this.NAGKACACHGD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NAGKACACHGD);
			}
			if (this.nBEKPGDILJE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.NBEKPGDILJE);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003E93 RID: 16019 RVA: 0x000ABE7C File Offset: 0x000AA07C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightMatch3SwapScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HOFBEKABNNL)
			{
				this.HOFBEKABNNL = other.HOFBEKABNNL;
			}
			if (other.NAGKACACHGD != 0U)
			{
				this.NAGKACACHGD = other.NAGKACACHGD;
			}
			if (other.nBEKPGDILJE_ != null)
			{
				if (this.nBEKPGDILJE_ == null)
				{
					this.NBEKPGDILJE = new ELAMGBPKDFA();
				}
				this.NBEKPGDILJE.MergeFrom(other.NBEKPGDILJE);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003E94 RID: 16020 RVA: 0x000ABF0C File Offset: 0x000AA10C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003E95 RID: 16021 RVA: 0x000ABF18 File Offset: 0x000AA118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 66U)
				{
					if (num == 48U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 66U)
					{
						if (this.nBEKPGDILJE_ == null)
						{
							this.NBEKPGDILJE = new ELAMGBPKDFA();
						}
						input.ReadMessage(this.NBEKPGDILJE);
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.HOFBEKABNNL = input.ReadBool();
						continue;
					}
					if (num == 80U)
					{
						this.NAGKACACHGD = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040018C5 RID: 6341
		private static readonly MessageParser<FightMatch3SwapScRsp> _parser = new MessageParser<FightMatch3SwapScRsp>(() => new FightMatch3SwapScRsp());

		// Token: 0x040018C6 RID: 6342
		private UnknownFieldSet _unknownFields;

		// Token: 0x040018C7 RID: 6343
		public const int HOFBEKABNNLFieldNumber = 9;

		// Token: 0x040018C8 RID: 6344
		private bool hOFBEKABNNL_;

		// Token: 0x040018C9 RID: 6345
		public const int NAGKACACHGDFieldNumber = 10;

		// Token: 0x040018CA RID: 6346
		private uint nAGKACACHGD_;

		// Token: 0x040018CB RID: 6347
		public const int NBEKPGDILJEFieldNumber = 8;

		// Token: 0x040018CC RID: 6348
		private ELAMGBPKDFA nBEKPGDILJE_;

		// Token: 0x040018CD RID: 6349
		public const int RetcodeFieldNumber = 6;

		// Token: 0x040018CE RID: 6350
		private uint retcode_;
	}
}
